namespace Terra.Core.Common.Exceptions;

/// <summary>
/// 业务异常
/// </summary>
public class BusinessException : BaseException
{
    public BusinessException(string message)
        : base(message)
    {
    }

    public BusinessException(string message, Exception innerException)
        : base(message, innerException)
    {
    }

    public BusinessException(string message, string code)
        : base(message)
    {
        Code = code;
    }
}